let stringToObject = (queryString) => {
	let object = {};
	let params = queryString.split('&');
	for(var i = 0; i < params.length; i++){
		var item = params[i].split('=');
		var field = item[0] || false;
		var value = item[1] || false;
		if(field && value){
			object[field] = value;
		}
	}
	return object;
}
export default stringToObject